<template>
    <div class="not-found-container">
      <div class="error-content">
        <div class="error-code">404</div>
        <h1>页面未找到</h1>
        <p>你访问的页面好像迷路啦，请检查 URL 或返回主页。</p>
        <router-link to="/" class="home-button">返回主页</router-link>
      </div>
    </div>
  </template>
  
  <script setup>
  // 这里可以添加一些逻辑，目前暂时为空
  </script>
  
  <style scoped>
  .not-found-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f4f7ff, #e0e9ff);
    font-family: 'Inter', sans-serif;
  }
  
  .error-content {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .error-code {
    font-size: 120px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 20px;
  }
  
  h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 16px;
  }
  
  p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
  }
  
  .home-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .home-button:hover {
    background-color: #0056b3;
  }
  </style>    